package org.example.proxy;

import org.springframework.beans.factory.config.AbstractFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ProxyTest {
    @Bean
    public MyFactoryBean<TargetInterface> myFactoryBean() {
        return new MyFactoryBean<TargetInterface>(TargetInterface.class);
    }
    public static void main(String[] args) {

    }
}
